﻿<Window x:Class="ViCode_LeVi.WindowMeasureAlert"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     Height="300" Width="300"
        xmlns:vmcontrol="clr-namespace:ViCode_LeVi.Controls"
        xmlns:Langs="clr-namespace:ViCode_LeVi.Langs"
        xmlns:Data="clr-namespace:ViCode_LeVi.Data" Icon="/Swiss Create;component/logo.ico"
       
    Title="{Binding Source={x:Static Langs:ControlTextInfo.Intance}, Path=Measure_Alert_Title}"  WindowState="Maximized" >
    <Window.Resources>
        <BooleanToVisibilityConverter  x:Key="BooleanToVisibilityConverter" />
    </Window.Resources>
    <Grid>
        <vmcontrol:VMListView x:Name="ListView_Measurement" IsSaveSetting="True" SaveSettingKey="VMTabMeasurement_ListView_Measurement"  SelectionMode="Single" 
                                  Margin="2"  Grid.Row="0">
            <vmcontrol:VMListView.View>
                <GridView>
                    <GridViewColumn  DisplayMemberBinding="{Binding Name}">
                        <GridViewColumn.Header>
                            <vmcontrol:VMTextBlockExt_ControlTextInfoInData TextPath="Measurement_Title_Text"/>
                        </GridViewColumn.Header>
                    </GridViewColumn>
                    <GridViewColumn  DisplayMemberBinding="{Binding IM_StartedDate}">
                        <GridViewColumn.Header>
                            <vmcontrol:VMTextBlockExt_ControlTextInfoInData TextPath="Measurement_Start_Text"/>
                        </GridViewColumn.Header>
                    </GridViewColumn>
                    <GridViewColumn  DisplayMemberBinding="{Binding IM_EndDate}">
                        <GridViewColumn.Header>
                            <vmcontrol:VMTextBlockExt_ControlTextInfoInData TextPath="Measurement_End_Text"/>
                        </GridViewColumn.Header>
                    </GridViewColumn>
                    <GridViewColumn  DisplayMemberBinding="{Binding Duration}">
                        <GridViewColumn.Header>
                            <vmcontrol:VMTextBlockExt_ControlTextInfoInData TextPath="Measurement_Duration_Text"/>
                        </GridViewColumn.Header>
                    </GridViewColumn>
                    <GridViewColumn  DisplayMemberBinding="{Binding Status}">
                        <GridViewColumn.Header>
                            <vmcontrol:VMTextBlockExt_ControlTextInfoInData TextPath="Measurement_Status_Text"/>
                        </GridViewColumn.Header>
                    </GridViewColumn>
                    <GridViewColumn  DisplayMemberBinding="{Binding ResponsiblePerson}">
                        <GridViewColumn.Header>
                            <vmcontrol:VMTextBlockExt_ControlTextInfoInData TextPath="Measurement_ResponsiblePerson_Text"/>
                        </GridViewColumn.Header>
                    </GridViewColumn>
                    <GridViewColumn  DisplayMemberBinding="{Binding DaysRemaining}">
                        <GridViewColumn.Header>
                            <vmcontrol:VMTextBlockExt_ControlTextInfoInData TextPath="Measurement_DaysRemaining_Text"/>
                        </GridViewColumn.Header>
                    </GridViewColumn>
                </GridView>
            </vmcontrol:VMListView.View>
        </vmcontrol:VMListView>
    </Grid>
</Window>
